/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.treepoke.common.dto;

import com.treepoke.util.base.TPBaseDTO;


public class CatalogStringString extends TPBaseDTO{
    
 /**
 * variable serializable
 */
    private static final long serialVersionUID = 1L;
    public static final String KEY = "KEY";
    public static final String VALUE = "VALUE";
     
    private String  value;
    private String  key;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public CatalogStringString() {
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final CatalogStringString other = (CatalogStringString) obj;
        if (this.value != other.value && (this.value == null || !this.value.equals(other.value))) {
            return false;
        }
        if (this.key != other.key && (this.key == null || !this.key.equals(other.key))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 67 * hash + (this.value != null ? this.value.hashCode() : 0);
        hash = 67 * hash + (this.key != null ? this.key.hashCode() : 0);
        return hash;
    }

    
}